package com.woniu.darryringmall.front.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * 订单表实体类
 */
@Data
public class Order {
    private int id;//id
    private String orderNo;//订单编号
    private int userId;//用户id
    private String accept;//收货人姓名
    private String telephone;//电话
    private String address;//地址
    private BigDecimal money;//金额
    private String orderTime;//下单时间
    private String payTime;//支付时间
    private String payType;//支付类型
    private String deliveTime;//发货时间
    private String status;//状态
    private String receiveTime;//收货时间
    private BigDecimal earnest;//定金
    private String deliveType;//物流方式
    @TableField(exist = false)
    private List<OrderItems> orderItems;

}
